package com.hubusugon.dbs.Service.Impl.master;

import com.hubusugon.dbs.Mapper.master.MasterTestMapper;
import com.hubusugon.dbs.Service.master.MasterTestService;
import com.hubusugon.dbs.Bean.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("MasterTestService")
public class MasterTestImpl implements MasterTestService {
    @Autowired
    MasterTestMapper masterTestMapper;
    @Override
    public List<Person> getAllPerson() {
        return masterTestMapper.selectAllPerson();
    }
}
